#ifndef _WINDOWPROCEDURE_H
#define _WINDOWPROCEDURE_H
#include "WindowsDependency.h"
#include "TurnsDataModel.h"
#include <tchar.h>
#include <strsafe.h>

class WindowOperations {

private:
	static WindowOperations *instance;

	LRESULT CALLBACK windowProcedure(HWND pHWindow, UINT pMessage, WPARAM pWParam, LPARAM pLParam);

public:
	~WindowOperations();

	static LRESULT CALLBACK windowCallbackProcedure(HWND pHWindow, UINT pMessage, WPARAM pWParam, LPARAM pLParam);

	static void showDefaultErrorMessage(const TCHAR *);
	static void showWin32ErrorMessage();
};

#endif
